#!/usr/bin/env python3
# -*- coding: utf-8 -*
# Time :2024-06-17 16:40
# @Author: baiping
from quote.db.dbhandle import DbHendle


class DbCustomer:

    def __init__(self):
        self.db_handle = DbHendle()


    def delete_customer(self,customerNo):
        self.db_handle.update_query('delete from students where  Sno=%s',[customerNo])


if __name__=="__main__":
    db_customer = DbCustomer()
    db_customer.delete_customer('9512103')